package com.panda.crud.logic.delete.auto.fill.enums;

public enum ResponseCodeEnum {
    STATUS_200(200, "操作成功"),

    STATUS_201(201, "操作失败"),

    STATUS_403(403, "无权访问"),

    STATUS_404(404, "请求资源不存在"),

    STATUS_500(500, "系统异常");

    private final Integer code;
    private final String dsec;

    ResponseCodeEnum(Integer code, String msg) {
        this.code = code;
        this.dsec = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return dsec;
    }
}
